module.exports = {
  name: 'eblog',
  description: '学习express使用的多人博客',
  port: 3000,
  session: {
    secret: 'eblog',
    key: 'eblog',
    maxAge: 2592000000
  },
  // mongodb: 'mongodb://123.206.8.16:27017/eblog'
  mongodb: 'mongodb://127.0.0.1:27017/eblog',
  // 有人云mqtt配置文件
  usrserver: {
    server: 'tcp://cloudmqtt.usr.cn:1883',
    options: {
      username: 'xuefeng',//App:xufeng
      password: '466c20e5be1c3e921f60359f94501c29',  //生成需要hash 32位加密算法 md5
      clientId: '00021839000000000003'
    },
    topic: '$USR/DevTx/00021839000000000001'
  }
}
